package com.eipc.model;

import org.androidpn.sdk.Constants;

import com.eipc.util.DBHelper;
import android.content.Context;
import android.content.SharedPreferences;


// 重要通知的通讯数据接口
public class DataInterface {
	
	public int iMaxId;
	public String strIds;
	SharedPreferences sdkPreferences;
	
	public  DataInterface(Context context,DBHelper mDB){		
		sdkPreferences = context.getSharedPreferences(Constants.SDK_PREFERENCES, Context.MODE_PRIVATE);
		iMaxId = Integer.valueOf(sdkPreferences.getString(Constants.MaxId,"0"));
		strIds = mDB.getIDs();
	}	
	
}